package com.alex.designPattern.proxy.dynamicProxy;

import com.alex.designPattern.HibernateDao;
import com.alex.designPattern.IDao;

public class Client {
	public static void main(String[] args){
		DynamicProxy dp = new DynamicProxy();
		HibernateDao hDao = new HibernateDao();
		IDao dao = (IDao)dp.bind(hDao);
		dao.getById();
	}
}
